package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.DaoPledgeStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class DaoPledgeDetailVO {

    @ApiModelProperty("质押id")
    private Long id;

    @ApiModelProperty("期数id")
    private Long periodsId;

    @ApiModelProperty("活动名称")
    private String name;

    @ApiModelProperty("活动封面")
    private String coverPicture;

    @ApiModelProperty("当前活动期数")
    private Integer currentPeriods;

    @ApiModelProperty("下一期活动期数")
    private Integer nextPeriods;

    @ApiModelProperty("总活动期数")
    private Integer periods;

    @ApiModelProperty("下次发行期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date nextStartTime;

    @ApiModelProperty("活动状态")
    private String activeStatus;

    @ApiModelProperty("加速总数")
    private Integer currentPledgeTotal;

    @ApiModelProperty("剩余加速总数")
    private Integer pledgeTotal;

    @ApiModelProperty("加速条件")
    private List<DaoPledgeConditionVO> condition;

    @ApiModelProperty("产出总奖励")
    private List<DaoPledgeDetailRewardVO> rewards;

    @ApiModelProperty("活动规则")
    private String activeRule;

    @ApiModelProperty("活动状态(NOT_START:活动未开始,IN:进行中,SETTLE:结算中,END:活动结束)")
    private DaoPledgeStatusEnum daoPledgeStatus;
    private String daoPledgeStatusStr;


}
